package request

import (
	"gitee.com/cjsn/topsdk/ability654/domain"
	"gitee.com/cjsn/topsdk/util"
)

type TmallMsfReservationRequest struct {
	/*
	   预约内容     */
	ReservInfo *domain.TmallMsfReservationReservationDTO `json:"reserv_info,omitempty" required:"false" `
}

func (s *TmallMsfReservationRequest) SetReservInfo(v domain.TmallMsfReservationReservationDTO) *TmallMsfReservationRequest {
	s.ReservInfo = &v
	return s
}

func (req *TmallMsfReservationRequest) ToMap() map[string]interface{} {
	paramMap := make(map[string]interface{})
	if req.ReservInfo != nil {
		paramMap["reserv_info"] = util.ConvertStruct(*req.ReservInfo)
	}
	return paramMap
}

func (req *TmallMsfReservationRequest) ToFileMap() map[string]interface{} {
	fileMap := make(map[string]interface{})
	return fileMap
}
